package com.kgc.scd.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * notify_seckill
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "秒杀通知", description = "对应数据库BLMALL中的notify_seckill表")
public class NotifySeckill implements Serializable {

    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "秒杀通知ID")
    private String id;

    /**
     * 需要抢购通知的用户id
     */
    @ApiModelProperty(value = "用户id")
    private String uid;

    /**
     * 抢购的秒杀id
     */
    @ApiModelProperty(value = "秒杀活动id")
    private String seckillPid;

    /**
     * 通知状态：0待通知 1已通知 
     */
    @ApiModelProperty(value = "通知状态",notes = "0待通知 1已通知 ")
    private Integer state;


    private static final long serialVersionUID = 1L;


}